package dk.android.houseenabler.models;

import java.io.Serializable;

public class House implements Serializable {
	
	private static final long serialVersionUID = -5060265549024501496L;
	private int id;
	private String title;
	private AnswerCollection answers = new AnswerCollection();
	

	public House(String title) {
		super();
		this.title = title;
	}
	
	public House(int id, String title) {
		super();
		this.id = id;
		this.title = title;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public AnswerCollection getAnswers() {
		return answers;
	}
	
	public void setAnswers(AnswerCollection answers) {
		this.answers = answers;
	}
	
	public String toString()
	{
		return title;
	}
}
